<?php

/**
 * 组件管理
 */
Route::get('application/components', ['as'=> 'application.components.index', 'uses' => 'Application\ComponentController@index']);
Route::post('application/components', ['as'=> 'application.components.store', 'uses' => 'Application\ComponentController@store']);
Route::get('application/components/create', ['as'=> 'application.components.create', 'uses' => 'Application\ComponentController@create']);
Route::put('application/components/{components}', ['as'=> 'application.components.update', 'uses' => 'Application\ComponentController@update']);
Route::patch('application/components/{components}', ['as'=> 'application.components.update', 'uses' => 'Application\ComponentController@update']);
Route::delete('application/components/{components}', ['as'=> 'application.components.destroy', 'uses' => 'Application\ComponentController@destroy']);
Route::get('application/components/{components}', ['as'=> 'application.components.show', 'uses' => 'Application\ComponentController@show']);
Route::get('application/components/{components}/edit', ['as'=> 'application.components.edit', 'uses' => 'Application\ComponentController@edit']);
